
	<div class='atom_manager'>
		<input type='hidden' name='{$input_name}' value='{$atom_id}'>
		<fieldset><legend>{i18n text="Tag cloud"}</legend>
			{include file="core:html_tags" input_name='' tags=$tags}
		</fieldset>
		<fieldset><legend>{i18n text="Plugin Types"}</legend>
			<select name='type'>
				{coreConfig name="boxes"}
				<option value='all'>{i18n text="Any type"}</option>
				{foreach from=$config_boxes item=type}
					{boxData what="description" type=$type}
					<option value='Box_{$type}'>({$type}) {$box_description}</option>
				{/foreach}
			</select>
		</fieldset>
		<div class="tabber">
			<ul>
				<li><a href="#existing">{i18n text="Select existing..."}</a></li>
				<li><a href="#create">{i18n text="Create new..."}</a></li>
			</ul>
			<div id="existing">
				<select></select>
				{if $caption}
					<button>{$caption}</button>
				{/if}
			</div>
			<div id="create">
				<fieldset><legend>{i18n text="Box title"}</legend>
				<input type='text' name='title' value='' /></fieldset>
				<button>{i18n text="Create new..."}</button>
			</div>
		</div>
	</div>